<!DOCTYPE html>
<html>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:19 GMT -->
<head>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">


  <title>{$sysname} - 添加产品</title>

  <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  <link href="css/animate.min.css" rel="stylesheet">
  <link href="css/plugins/summernote/summernote.css" rel="stylesheet">
  <link href="css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
  <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">

  <style>
    .droppable-active{background-color:#ffe!important}.tools a{cursor:pointer;font-size:80%}.form-body .col-md-6,.form-body .col-md-12{min-height:400px}.draggable{cursor:move}
  </style>

</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">

  <div class="row">
    <div class="col-sm-5" style="width: 100%">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>添加产品</h5>
          <div class="ibox-tools">
            <a class="collapse-link">
              <i class="fa fa-chevron-up"></i>
            </a>
            <a class="dropdown-toggle" data-toggle="dropdown" href="form_editors.html#">
              <i class="fa fa-wrench"></i>
            </a>
            <a class="close-link">
              <i class="fa fa-times"></i>
            </a>
          </div>
        </div>
        <div class="ibox-content">
          <form role="form" class="form-horizontal m-t" action="{:U('User/kjadd_done')}" method="post" id="sysForm"  name="sysForm" enctype="multipart/form-data">

            <div class="form-group draggable">
              <label class="col-sm-3 control-label">产品名称：</label>
              <div class="col-sm-9">
                <input type="text" name="name" value="" class="form-control" >
                <span class="help-block m-b-none"></span>
              </div>
            </div>

              <div class="form-group draggable" style="display: none">
                <label class="col-sm-3 control-label">产品类型：</label>
                <div class="col-sm-9">
                  <label class="radio-inline">
                    <input type="radio"  value="1" id="type1" name="type" onclick="checkthis(1)" checked >矿机模式</label>
                  <label class="radio-inline" style="display: none">
                    <input type="radio"  value="2" id="type2" name="type" onclick="checkthis(2)">理财模式</label>
                </div>
              </div>

            <script type="text/javascript">
              function checkthis(id){
                if(id == 1){
                  $("#price1").show();
                  $("#price2").hide();
                  $("#now_num").show();
                  $("#now_money").hide();
                }else{
                  $("#price2").show();
                  $("#price1").hide();
                  $("#now_money").show();
                  $("#now_num").hide();
                }
              }
            </script>
            <div class="form-group draggable" id="price1">
              <label class="col-sm-3 control-label">价格<font style="color: red">({$B})</font>：</label>
              <div class="col-sm-9">
                <input type="text" name="price" value="" class="form-control" >
                <span class="help-block m-b-none"></span>
              </div>
            </div>

            <div class="form-group draggable" id="price2" style="display: none">
              <label class="col-sm-3 control-label">价格范围<font style="color: red">({$B})</font>：</label>
              <div class="col-sm-2">
                <input type="text" name="price2_s" value="" class="form-control" >
              </div>
              <div class="col-sm-1" style="width: 50px;text-align: center;padding: 0;margin: 0;line-height: 34px;">
                ——
              </div>
              <div class="col-sm-2">
                <input type="text" name="price2_e" value="" class="form-control" >
              </div>
            </div>

              <div class="form-group draggable">
                <label class="col-sm-3 control-label">周期<font style="color: red">(天)</font>：</label>
                <div class="col-sm-9">
                  <input type="text" name="cycle" value="" class="form-control" >
                  <span class="help-block m-b-none"></span>
                </div>
              </div>

              <div class="form-group draggable" style="display: none">
                <label class="col-sm-3 control-label">利率<font style="color: red">(%)</font>：</label>
                <div class="col-sm-9">
                  <input type="text" name="lilv" value="" class="form-control" >
                  <span class="help-block m-b-none"></span>
                </div>
              </div>

              <div class="form-group draggable" id="now_num">
                <label class="col-sm-3 control-label">每日奖励：</label>
                <div class="col-sm-9">
                  <input type="text" name="day_num" value="" class="form-control" placeholder="">
                  <span class="help-block m-b-none"></span>
                </div>
              </div>

            <div class="form-group draggable" id="max_num">
              <label class="col-sm-3 control-label">同时运行数量：</label>
              <div class="col-sm-9">
                <input type="text" name="max_num" value="" class="form-control" placeholder="">
                <span class="help-block m-b-none"></span>
              </div>
            </div>

              <div class="form-group draggable" id="now_money" style="display: none">
                <label class="col-sm-3 control-label">每日额度<font style="color: red">({$B})</font>：</label>
                <div class="col-sm-9">
                  <input type="text" name="day_money" value="" class="form-control" placeholder="">
                  <span class="help-block m-b-none"></span>
                </div>
              </div>


              <div class="form-group draggable" style="display: none">
                <label class="col-sm-3 control-label">捐赠后购买：</label>
                <div class="col-sm-9">
                  <label class="radio-inline">
                    <input type="radio"  value="0"  id="need_seat1" name="need_seat">不需要</label>
                  <label class="radio-inline">
                    <input type="radio"  value="1"  id="need_seat2" checked name="need_seat">需要</label>
                </div>
              </div>


              <div class="form-group draggable" style="display: none">
                <label class="col-sm-3 control-label">释放本金：</label>
                <div class="col-sm-9">
                  <label class="radio-inline">
                    <input type="radio"  value="0"  id="shifang1" name="shifang" checked>不释放</label>
                  <label class="radio-inline">
                    <input type="radio"  value="1"  id="shifang2" name="shifang">释放</label>
                </div>
              </div>

            <div class="form-group draggable" style="display: none">
              <label class="col-sm-3 control-label">提前释放扣除比例<font style="color: red">(%)</font>：</label>
              <div class="col-sm-9">
                <input type="text" name="tqsf" value="" class="form-control" placeholder="">
                <span class="help-block m-b-none"></span>
              </div>
            </div>

            <div class="form-group draggable">
              <label class="col-sm-3 control-label">是否显示：</label>
              <div class="col-sm-9">
                <label class="radio-inline">
                  <input type="radio"  value="1"  id="is_show1" name="is_show" checked >显示</label>
                <label class="radio-inline">
                  <input type="radio"  value="0"  id="is_show2" name="is_show">不显示</label>
              </div>
            </div>

              <div class="form-group draggable">
                <label class="col-sm-3 control-label">说明：</label>
                <div class="col-sm-9">
                  <input type="text" name="msg" value=""  class="form-control" placeholder="">
                  <span class="help-block m-b-none"></span>
                </div>
              </div>

            <div class="hr-line-dashed"></div>
            <div class="form-group draggable">
              <div class="col-sm-12 col-sm-offset-3">
                <input class="btn btn-primary" type="hidden" name="kjid" value="{$item.id}">
                <input class="btn btn-primary" type="submit" value="确认添加">
                <a class="btn btn-white" href="{:U('User/kuangji')}">取消</a>
              </div>
            </div>

          </form>
          <div class="clearfix"></div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>
<script src="js/content.min.js?v=1.0.0"></script>
<script src="js/jquery-ui-1.10.4.min.js"></script>
<script src="js/plugins/beautifyhtml/beautifyhtml.js"></script>
<script>
  $(document).ready(function(){
    setup_draggable();
    $("#n-columns").on("change",function(){
      var v=$(this).val();
      if(v==="1"){
        var $col=$(".form-body .col-md-12").toggle(true);
        $(".form-body .col-md-6 .draggable").each(function(i,el){
          $(this).remove().appendTo($col)
        });
        $(".form-body .col-md-6").toggle(false)
      }else{
        var $col=$(".form-body .col-md-6").toggle(true);
        $(".form-body .col-md-12 .draggable").each(function(i,el){
          $(this).remove().appendTo(i%2?$col[1]:$col[0])});
        $(".form-body .col-md-12").toggle(false)}
    })
  })

</script>
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
</body>


<!-- Mirrored from www.zi-han.net/theme/hplus/form_builder.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:20 GMT -->
</html>
